package com.lanchetech.bean.vo;

import com.lanchetech.entity.Shop;
import com.lanchetech.entity.ShopStatistics;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class MerchantHomeStatisticsVO implements Serializable {
    // 每天0点缓存失效，获取今日剩余秒数作为失效时间
    //昨日商品成交人数
    Long yesterdayCustomerCount;
    //昨日商品总访客
    Long yesterdayUv;
    //昨日商品总点击
    Long yesterdayPv;
    // 昨天新增订单数
    Long yesterdayOrder;
    //昨日成交金额
    BigDecimal yesterdayAmount;
    //昨日退款订单数
    Long yesterdayRefundCount;
    // 每10分钟缓存失效
    //今日退款订单数
    Long todayRefundCount;
    //金额成交订单
    BigDecimal todayAmount;
    // 今日新增订单数
    Long todayOrder;
    //今日商品总访客
    Long todayUv;
    //今日商品总点击
    Long todayPv;
    //今日商品成交人数
    Long todayCustomerCount;
    //总订单
    Long totalOrder;
    // 总待发货
    Long waitDelivery;
    // 总已发货
    Long deliveries;
    // 总待售后
    Long afterSale;
    // 退货待处理
    Long returnConfirm;
    //店铺统计数据
    ShopStatistics shopStatistics;
    //店铺类型
    Byte shopType;

    BigDecimal tenantPoint;

    BigDecimal waitToRefund;

    Shop shop;

    //提现信息
    TenantFundVO tenantFundVO;

    //销售数据统计
    TenantSaleStatisticsVO tenantSaleStatistics;

    //店铺业绩排名
    Long totalRank;

    //同类店铺排名
    Long sameTotalRank;
}
